#include<iostream>


void xprintf()
{
    std::cout<<std::endl;
}

template<typename T,typename ...Args>
void xprintf(const T& n,Args&& ...args)
{
    std::cout<<n<<" ";
    if(sizeof ...(args) > 0)
    {
        xprintf(std::forward<Args>(args)...);
    }
    else{
        xprintf();
    }
}

int main()
{
    xprintf(5,1,2,3,4,5);
    xprintf("hello world","study","i am liming");
    return 0;
}